From: Jonas Ã…dahl Date: Tue, 21 Apr 2020 07:03:43 +0000 (+0200) Subject: st: Update to new API for creating paint context X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~684^2^2~477 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=0dba12193de8a61a506863f09beb56596c8be7b9;p=gnome-shell.git st: Update to new API for creating paint context It now takes a redraw clip and flags. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1207 --- diff --git a/src/st/st-private.c b/src/st/st-private.c index 70d31ef76..16a5e15dd 100644 --- a/src/st/st-private.c +++ b/src/st/st-private.c @@ -517,7 +517,9 @@ _st_create_shadow_pipeline_from_actor (StShadow *shadow_spec, clutter_actor_set_opacity_override (actor, 255); - paint_context = clutter_paint_context_new_for_framebuffer (fb); + paint_context = + clutter_paint_context_new_for_framebuffer (fb, NULL, + CLUTTER_PAINT_FLAG_NONE); clutter_actor_paint (actor, paint_context); clutter_paint_context_destroy (paint_context);